#include<stdio.h>
#include<unistd.h>
#include<stdlib.h>
#include<string.h>

int g_val_1;
int g_val_2 = 100;

int main()
{
	printf("code addr: %p\n",main);
	const char *str = "hello bit";
	printf("read only string addr: %p\n",str);
	printf("init global value addr: %p\n",&g_val_2);
	printf("uninit global value addr: %p\n",&g_val_1);
	char* mem = (char*)malloc(100);
	printf("heap addr: %p\n",mem);
	printf("stack addr: %p\n",&str);
	
	return 0;
}
